*{margin: 0;padding: 0;}
.main{width: 1000px;margin: 0 auto;}
html,body{width: 100%;height: 100%;}
a{text-decoration: none;color: #000;}
li{list-style: none;}

.top{
    height: 100px;
    background-color: #fff;
    position: relative;
    .t1{
        width: 330px;
        height: 65px;
        position: absolute;
        left: 0px;
        top: 20px;
        img{
            height: 100%;
        }
    }
    .t2{
        width: 504px;
        position: absolute;
        right: 0px;
        img{
            width: 100%;
        }
    }
}
.middle{
    width: 100%;
    height: 600px;
    background-color:#f8f8f8;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    .contain{
        height: 100%;
        position: relative;
        .left{
            width: 400px;
            height: 360px;
            position: absolute;
            top:50%;
            left: 0px;
            margin-top: -180px;
            img{
                width: 100%;
                position: absolute;
                left: 0;
                top: 50%;
                margin-top: -101px;
            }
        }
        .reg{
            width: 350px;
            height: 320px;
            background-color: #fff;
            position: absolute;
            right: 0px;
            top: 50%;
            margin-top: -160px;
            border: 1px solid #e0e0e0;
            .r-top{
                width: 100%;
                height: 64px;
                position: relative;
                span{
                    font-size: 14px;
                    font-weight: bold;
                    position: absolute;
                    bottom: 5px;
                    width: 100%;
                    text-align: center;
                }
                .r-t-img{
                    width: 64px;
                    height: 64px;
                    background-image: url(../images/reg/ewm.png);
                    position: absolute;
                    right: 0;
                    &:before{
                        content: "";
                        width: 82px;
                        height: 18px;
                        display: inline-block;
                        background-image: url(../images/reg/saoma.png);
                        background-size: contain;
                        position: absolute;
                        top: 5px;
                        right: 69px;
                    }
                }
            }
            .r-middle{
                width: 270px;
                height: 212px;
                margin: 0 auto;
                background-color: #fff;
                .r-m-text{
                    height: 14px;
                    line-height: 14px;
                    position: relative;
                    a{
                        display: inline-block;
                        font-size: 12px;
                        color: #666;
                        position: absolute;
                        right: 0;
                        &:hover{
                            color: #d80a0a;
                        }
                    }
                }
                form{
                    .fm-phone{
                        position: relative;
                        input{
                            width: 232px;
                            height: 36px;
                            line-height: 36px;
                            border: 1px solid #e0e0e0;
                            border-radius: 18px;
                            margin-top:10px;
                            padding-left: 36px;
                        }
                        &:before{
                            height: 20px;
                            width: 20px;
                            background: url(../images/reg/collection.png) no-repeat;
                            content: "";
                            display: inline-block;
                            position: absolute;
                            top: 20px;
                            left: 10px;
                            background-position: -34px -34px;
                        }
                    }
                    .fm-judge{
                        position: relative;
                        input{
                            width: 232px;
                            height: 36px;
                            line-height: 36px;
                            border: 1px solid #e0e0e0;
                            border-radius: 18px;
                            margin-top: 15px;
                            padding-left: 36px;
                        }
                        &:before{
                            height: 20px;
                            width: 20px;
                            background: url(../images/reg/collection.png) no-repeat;
                            content: "";
                            display: inline-block;
                            position: absolute;
                            top: 25px;
                            left: 10px;
                            background-position: -34px -12px;
                        }
                        .send-msg{
                            width: 81px;
                            height: 24px;
                            position: absolute;
                            right: 0;
                            top: 22px;
                            padding-left: 10px;
                            border-left: 1px solid #e0e0e0;
                            a{
                                color: #666;
                                font-size: 12px;
                                line-height: 24px;
                                &:hover{
                                    color: #d80a0a;
                                }
                            }
                        }
                    }
                    .fm-login{
                        button{
                            width: 270px;
                            height: 36px;
                            line-height: 36px;
                            border: 1px solid #e0e0e0;
                            border-radius: 18px;
                            margin-top: 15px;
                            color: #fff;
                            background-color: #ff0000;
                        }
                    }
                    .fm-text{
                        width: 270px;
                        height: 15px;
                        margin-top: 20px;
                        font-size: 12px;
                        text-align: center;
                        color: #999;
                        a{
                            text-decoration:underline;
                            color: #999;
                        }
                    }
                }
            }
            .r-bot{
                width: 270px;
                height: 22px;
                border-top: 1px solid #efefef;
                padding: 10px 40px;
                ul{
                    display: flex;
                    margin-left: 45px;
                    li{
                        width: 24px;
                        height: 22px;
                        margin-left: 10px;
                        background: url(../images/reg/r3.png) no-repeat;
                        background-size: cover;
                        a{
                            display: inline-block;
                            width: 100%;
                            height: 100%;
                        }
                    }
                    li:nth-child(2){
                        background-position: -32px 0px;
                    }
                    li:nth-child(3){
                        background-position: -64px 0px;
                    }
                    li:nth-child(4){
                        background-position: -96px 0px;
                    }
                    li:nth-child(5){
                        background-position: -162px 0px;
                    }
                }
            }
        }
    }
}
.foot{
    height: 152px;
    color: #c2c2c2;
    font-size: 12px;
    a{
        color: #c2c2c2;
        &:hover{
            text-decoration: underline;
        }
    }
    span{
        margin-left: 20px;
    }
    div{
        margin: 0 auto;
        width: 100%;
        text-align: center;
    }
    .f-top{
        margin-top: 30px;
    }
    .f-middle{
        margin-top: 15px;
    }
    .f-bottom{
        margin-top: 15px;
        .police{
            position: relative;
            img{
                display: inline-block;
                position: absolute;
                left: 0;
                top: 0;
            }
        }
    }
    .f-img{
        margin: 20px auto;
        .f-img1{
            width: 80px;
        }
        .f-img2{
            height: 30px;
            margin-left: 10px;
        }
    }
}